import os

ROOT_PATH = os.path.dirname(__file__)

ADMINS = (
   
)

TEMPLATE_DEBUG = True

MANAGERS = ADMINS

# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# If running in a Windows environment this must be set to the same as your
# system time zone.
TIME_ZONE = 'UTC'

# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE = 'en-us'

SITE_ID = 1

# If you set this to False, Django will make some optimizations so as not
# to load the internationalization machinery.
USE_I18N = False


# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.load_template_source',
    'django.template.loaders.app_directories.load_template_source',
#     'django.template.loaders.eggs.load_template_source',
)

MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'capabilities.middleware.ExceptionLoggingMiddleware',
#   'djangodblog.middleware.DBLogMiddleware',
    'debug_toolbar.middleware.DebugToolbarMiddleware',
#    'django.middleware.doc.XViewMiddleware',
)

TEMPLATE_CONTEXT_PROCESSORS = (
    'django.core.context_processors.auth',
    'django.core.context_processors.debug',
#    'django.core.context_processors.i18n',
    'django.core.context_processors.media',
#    'django.core.context_processors.request',

    # django-webdeveloper-portfolio
    'bl_g.context_processors.settings',
    's_te.context_processors.settings',
    's_te.context_processors.content',
)

ROOT_URLCONF = 'urls'

TEMPLATE_DIRS = (
    os.path.join(ROOT_PATH, 'templates')
)

INSTALLED_APPS = (
     'django.contrib.auth',
     'django.contrib.admin',
     'django.contrib.sitemaps',
     'django.contrib.contenttypes',
     'django.contrib.sessions',
     'django.contrib.sites',
     'uni_form',
     'tinymce',
     'tagging',
     'debug_toolbar',
     'south',
     'indexer',
     'paging',
#     'sentry',
#     'sentry.client',
     
     # django-webdeveloper-portfolio
     'capabilities',
     'django_html5_forms',
     'analytics',
     'quantcast',
     'disqus',
     'sharethis',
     'bl_g',
     'cm_s',
     'pr_j',
     'endo',
     'bl_rb',
     'c_ntact',
     's_te',
     't_ch',
     'xfn',
     
     
)

TINYMCE_DEFAULT_CONFIG = {
    'theme':'advanced',
    'relative_urls': False
}

S_TE_TINYMCE_DEFAULT_ATTRS = {'cols':80, 'rows':30,}

CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True

from local_settings import *
